package gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.Timer;

public class TimerThrowGame extends Timer implements ActionListener {

	public TimerThrowGame(IFrame f) {
		super(100,null);
		addActionListener(this);
		setRepeats(false);
		frame=f;
	}

	private IFrame frame;
	
	private static final long serialVersionUID = 4139053834416423107L;


	public void actionPerformed(ActionEvent e) {
		frame.screenGames();
	}

}
